﻿/**
* File: age.ui.age.js 
* Author: Angelo Gomez
* Date: 2011.09.08
*
* Copyright (c) 2011 Angelo Gomez
* 
*/
/// <reference path="jquery-1.5.1-vsdoc.js" />

var xxxyyy = "";

var QnaModel = (function ($) {

	// //QnaSessionCode: '@Guid.NewGuid()',
	var qnaEntity = {
		QuestionData:
		{
			QuestionID: 0,
			CategoryID: [4, 5],
			DifficultyLevel: 1,
			AccountID: 1,
			Question: 'What is this a test?',
			IsActive: true,
			FlagCode: 'V',
			GivenTime: 20,
			UserID: 1,
			AppLogID: 0
		},
		AnswerChoices:
		[
			{ AnswerID: 0, QuestionID: 0, Answer: 'Answer 1 from js', IsCorrect: true, AnswerExplanation: '', IsActive: false, OrderIndex: 0 },
			{ AnswerID: 0, QuestionID: 0, Answer: 'Answer 2 from js', IsCorrect: true, AnswerExplanation: 'Explanation 2', IsActive: true, OrderIndex: 1 },
			{ AnswerID: 0, QuestionID: 0, Answer: 'Answer 3 from js', IsCorrect: true, AnswerExplanation: '', IsActive: false, OrderIndex: 2 }
		],
		UserData:
		{
			UserID: 0,
			UserName: 'username',
			UserEmail: 'email@domain.com',
			AccountID: 2,
			DeviceType: 'PC00',
			DeviceDescription: 'IntelMac',
			OtherInfo: 'No other information for now.'
		},
		Error: ''
	};

	return {
		QnaEntity: qnaEntity
	}


})(jQuery);

